from django.urls import path
from user_app import views

urlpatterns = [
    path('depart/list/', views.depart),
    path('depart/add/', views.add_depart),
    path('depart/delete/', views.delete_depart),
    path('depart/edit/<int:nid>/', views.edit_depart),
    
    path('user/list/', views.user_list),
    path('user/add/', views.add_user),
    path('user/delete/', views.delete_user),
    path('user/edit/<int:nid>/', views.edit_user),
    
    path('login/', views.login),
    path('home/', views.home),
    
    path('ad/list/', views.admininfo),
    path('ad/add/', views.add_admin),
    path('ad/edit/<int:nid>/', views.edit_admin),
    path('ad/reset/<int:nid>/', views.reset_admin),
    path('ad/delete/<int:nid>/', views.delete_admin),
]